package com.lianjia.sh.tools.msg.v2.sender;

import com.lianjia.sh.tools.msg.v2.message.PnsPicMsg;
import com.lianjia.sh.tools.msg.v2.message.PnsRichTextMsg;
import com.lianjia.sh.tools.msg.v2.message.PnsTextMsg;

/**
 * Created by yangsp1 on 16/6/24.
 */
public interface PnsSender extends Sender {
    /**
     * 获取appId ：如移动德佑的id，后续可能有其它app也需要接收消息
     * @return
     */
    public Integer getAppId();

    /**
     * 获取项目id：如房源、客源; 由移动德佑分配
     * @return
     */
    public Integer getBusinessId();

    public boolean send(PnsTextMsg pnsTextMsg);

    public boolean send(PnsRichTextMsg pnsRichTextMsg);

    public boolean send(PnsPicMsg pnsPicMsg);
}
